<template>
    <div>
        <van-search  placeholder="请输入搜索关键词" @focus="show"/>
    </div>
</template>

<script>
    export default {
        methods: {
            show(){
                this.$router.replace('/searchShow')
            }
        },
    }
</script>

<style lang="less" scoped>
.van-search{
    border-radius: 17px;
    
}
</style>